
package com.one.odf.model;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for participantBIOType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="participantBIOType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="Language" type="{}participantBIOLanguageType"/&gt;
 *         &lt;element name="Discipline" type="{}BIODisciplineType" minOccurs="0"/&gt;
 *         &lt;element name="OfficialFunction" type="{}participantBIOFunctionType" maxOccurs="unbounded" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="Code" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="ExternalCode" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="ParticipantID" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Gender" use="required" type="{}genderCodeType" /&gt;
 *       &lt;attribute name="Organisation" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Current" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
 *       &lt;attribute name="ModificationIndicator" type="{}modificationIndicatorType" /&gt;
 *       &lt;attribute name="GivenName" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="FamilyName" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="BirthDate" type="{}odfDateType" /&gt;
 *       &lt;attribute name="Height" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Weight" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="PlaceofBirth" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="CountryofBirth" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="PlaceofResidence" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="CountryofResidence" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Nationality" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="OlympicSolidarity" type="{}code1Type" /&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "participantBIOType", propOrder = {
    "language",
    "discipline",
    "officialFunction"
})
public class ParticipantBIOType {

    @XmlElement(name = "Language", required = true)
    protected ParticipantBIOLanguageType language;
    @XmlElement(name = "Discipline")
    protected BIODisciplineType discipline;
    @XmlElement(name = "OfficialFunction")
    protected List<ParticipantBIOFunctionType> officialFunction;
    @XmlAttribute(name = "Code")
    protected String code;
    @XmlAttribute(name = "ExternalCode")
    protected String externalCode;
    @XmlAttribute(name = "ParticipantID")
    protected String participantID;
    @XmlAttribute(name = "Gender", required = true)
    protected String gender;
    @XmlAttribute(name = "Organisation")
    protected String organisation;
    @XmlAttribute(name = "Current", required = true)
    protected boolean current;
    @XmlAttribute(name = "ModificationIndicator")
    protected ModificationIndicatorType modificationIndicator;
    @XmlAttribute(name = "GivenName")
    protected String givenName;
    @XmlAttribute(name = "FamilyName")
    protected String familyName;
    @XmlAttribute(name = "BirthDate")
    protected String birthDate;
    @XmlAttribute(name = "Height")
    protected String height;
    @XmlAttribute(name = "Weight")
    protected String weight;
    @XmlAttribute(name = "PlaceofBirth")
    protected String placeofBirth;
    @XmlAttribute(name = "CountryofBirth")
    protected String countryofBirth;
    @XmlAttribute(name = "PlaceofResidence")
    protected String placeofResidence;
    @XmlAttribute(name = "CountryofResidence")
    protected String countryofResidence;
    @XmlAttribute(name = "Nationality")
    protected String nationality;
    @XmlAttribute(name = "OlympicSolidarity")
    protected String olympicSolidarity;

    /**
     * Gets the value of the language property.
     * 
     * @return
     *     possible object is
     *     {@link ParticipantBIOLanguageType }
     *     
     */
    public ParticipantBIOLanguageType getLanguage() {
        return language;
    }

    /**
     * Sets the value of the language property.
     * 
     * @param value
     *     allowed object is
     *     {@link ParticipantBIOLanguageType }
     *     
     */
    public void setLanguage(ParticipantBIOLanguageType value) {
        this.language = value;
    }

    /**
     * Gets the value of the discipline property.
     * 
     * @return
     *     possible object is
     *     {@link BIODisciplineType }
     *     
     */
    public BIODisciplineType getDiscipline() {
        return discipline;
    }

    /**
     * Sets the value of the discipline property.
     * 
     * @param value
     *     allowed object is
     *     {@link BIODisciplineType }
     *     
     */
    public void setDiscipline(BIODisciplineType value) {
        this.discipline = value;
    }

    /**
     * Gets the value of the officialFunction property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the officialFunction property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getOfficialFunction().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ParticipantBIOFunctionType }
     * 
     * 
     */
    public List<ParticipantBIOFunctionType> getOfficialFunction() {
        if (officialFunction == null) {
            officialFunction = new ArrayList<ParticipantBIOFunctionType>();
        }
        return this.officialFunction;
    }

    /**
     * Gets the value of the code property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCode() {
        if (code == null) {
            return "";
        } else {
            return code;
        }
    }

    /**
     * Sets the value of the code property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCode(String value) {
        this.code = value;
    }

    /**
     * Gets the value of the externalCode property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getExternalCode() {
        if (externalCode == null) {
            return "";
        } else {
            return externalCode;
        }
    }

    /**
     * Sets the value of the externalCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setExternalCode(String value) {
        this.externalCode = value;
    }

    /**
     * Gets the value of the participantID property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getParticipantID() {
        if (participantID == null) {
            return "";
        } else {
            return participantID;
        }
    }

    /**
     * Sets the value of the participantID property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setParticipantID(String value) {
        this.participantID = value;
    }

    /**
     * Gets the value of the gender property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getGender() {
        return gender;
    }

    /**
     * Sets the value of the gender property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setGender(String value) {
        this.gender = value;
    }

    /**
     * Gets the value of the organisation property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getOrganisation() {
        if (organisation == null) {
            return "";
        } else {
            return organisation;
        }
    }

    /**
     * Sets the value of the organisation property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOrganisation(String value) {
        this.organisation = value;
    }

    /**
     * Gets the value of the current property.
     * 
     */
    public boolean isCurrent() {
        return current;
    }

    /**
     * Sets the value of the current property.
     * 
     */
    public void setCurrent(boolean value) {
        this.current = value;
    }

    /**
     * Gets the value of the modificationIndicator property.
     * 
     * @return
     *     possible object is
     *     {@link ModificationIndicatorType }
     *     
     */
    public ModificationIndicatorType getModificationIndicator() {
        return modificationIndicator;
    }

    /**
     * Sets the value of the modificationIndicator property.
     * 
     * @param value
     *     allowed object is
     *     {@link ModificationIndicatorType }
     *     
     */
    public void setModificationIndicator(ModificationIndicatorType value) {
        this.modificationIndicator = value;
    }

    /**
     * Gets the value of the givenName property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getGivenName() {
        if (givenName == null) {
            return "";
        } else {
            return givenName;
        }
    }

    /**
     * Sets the value of the givenName property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setGivenName(String value) {
        this.givenName = value;
    }

    /**
     * Gets the value of the familyName property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getFamilyName() {
        if (familyName == null) {
            return "";
        } else {
            return familyName;
        }
    }

    /**
     * Sets the value of the familyName property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setFamilyName(String value) {
        this.familyName = value;
    }

    /**
     * Gets the value of the birthDate property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getBirthDate() {
        return birthDate;
    }

    /**
     * Sets the value of the birthDate property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setBirthDate(String value) {
        this.birthDate = value;
    }

    /**
     * Gets the value of the height property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getHeight() {
        if (height == null) {
            return "";
        } else {
            return height;
        }
    }

    /**
     * Sets the value of the height property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setHeight(String value) {
        this.height = value;
    }

    /**
     * Gets the value of the weight property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getWeight() {
        if (weight == null) {
            return "";
        } else {
            return weight;
        }
    }

    /**
     * Sets the value of the weight property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setWeight(String value) {
        this.weight = value;
    }

    /**
     * Gets the value of the placeofBirth property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPlaceofBirth() {
        if (placeofBirth == null) {
            return "";
        } else {
            return placeofBirth;
        }
    }

    /**
     * Sets the value of the placeofBirth property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPlaceofBirth(String value) {
        this.placeofBirth = value;
    }

    /**
     * Gets the value of the countryofBirth property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCountryofBirth() {
        if (countryofBirth == null) {
            return "";
        } else {
            return countryofBirth;
        }
    }

    /**
     * Sets the value of the countryofBirth property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCountryofBirth(String value) {
        this.countryofBirth = value;
    }

    /**
     * Gets the value of the placeofResidence property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPlaceofResidence() {
        if (placeofResidence == null) {
            return "";
        } else {
            return placeofResidence;
        }
    }

    /**
     * Sets the value of the placeofResidence property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPlaceofResidence(String value) {
        this.placeofResidence = value;
    }

    /**
     * Gets the value of the countryofResidence property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCountryofResidence() {
        if (countryofResidence == null) {
            return "";
        } else {
            return countryofResidence;
        }
    }

    /**
     * Sets the value of the countryofResidence property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCountryofResidence(String value) {
        this.countryofResidence = value;
    }

    /**
     * Gets the value of the nationality property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getNationality() {
        if (nationality == null) {
            return "";
        } else {
            return nationality;
        }
    }

    /**
     * Sets the value of the nationality property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setNationality(String value) {
        this.nationality = value;
    }

    /**
     * Gets the value of the olympicSolidarity property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getOlympicSolidarity() {
        return olympicSolidarity;
    }

    /**
     * Sets the value of the olympicSolidarity property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOlympicSolidarity(String value) {
        this.olympicSolidarity = value;
    }

}
